Skip to content

Add api-contract-audit skill for type hint checking - #962

Open
Rimsha2535 wants to merge 16 commits into
mainfrom
feature/942-add-api-contract-audit-skill
Open

Rimsha2535 wants to merge 16 commits into
mainfrom
feature/942-add-api-contract-audit-skill

Conversation

@Rimsha2535

Copy link
Copy Markdown
Contributor

Fixes #942

Summary

Added the api-contract-audit skill to help identify mismatches between type annotations, docstrings and runtime behavior in Python libraries. The skill was verified against PyExasol and works as expected.

Checklist

Note: If any of the items in the checklist are not relevant to your PR, just check the box.

For any Pull Request

Is the following correct:

  • the title of the Pull Request?
  • the title of the corresponding issue?
  • there are no other open Pull Requests for the same update/change?
  • that the issue which this Pull Request fixes ("Fixes...") is mentioned?

When Changes Were Made

Did you:

  • update the changelog?
  • update the cookiecutter-template?
  • update the implementation?
  • check coverage and add tests: unit tests and, if relevant, integration tests?
  • update the User Guide & other documentation?
  • resolve any failing CI criteria (incl. Sonar quality gate)?

When Preparing a Release

Have you:

  • thought about version number (major, minor, patch)?
  • checked Exasol packages for updates and resolved open vulnerabilities, if easily possible?

Comment thread doc/changes/unreleased.md Outdated
Comment thread exasol/toolbox/skills/api-contract-audit/SKILL.md
Comment thread test/resources/skills/api-contract-audit/eval_cases.yml
Comment thread test/resources/skills/api-contract-audit/eval_cases.yml
Comment thread test/resources/skills/api-contract-audit/eval_cases.yml Outdated
Comment thread test/resources/skills/api-contract-audit/eval_cases.yml Outdated
Comment thread test/resources/skills/api-contract-audit/eval_cases.yml Outdated
Co-authored-by: Ariel Schulz <43442541+ArBridgeman@users.noreply.github.com>
Co-authored-by: Ariel Schulz <43442541+ArBridgeman@users.noreply.github.com>
Co-authored-by: Ariel Schulz <43442541+ArBridgeman@users.noreply.github.com>
* Improve API contract skill evaluation cases

* Explain evaluation case expectations

* Keep API audit evaluation library agnostic
Comment thread test/resources/skills/api-contract-audit/eval_cases.yml Outdated
Comment thread test/resources/skills/api-contract-audit/eval_cases.yml Outdated
Comment thread test/resources/skills/api-contract-audit/eval_cases.yml Outdated
Comment thread test/resources/skills/api-contract-audit/eval_cases.yml Outdated
Comment thread test/resources/skills/api-contract-audit/eval_cases.yml Outdated
Comment thread test/resources/skills/api-contract-audit/eval_cases.yml Outdated
@sonarqubecloud

Copy link
Copy Markdown

Co-authored-by: Ariel Schulz <43442541+ArBridgeman@users.noreply.github.com>
Co-authored-by: Ariel Schulz <43442541+ArBridgeman@users.noreply.github.com>
Co-authored-by: Ariel Schulz <43442541+ArBridgeman@users.noreply.github.com>
Co-authored-by: Ariel Schulz <43442541+ArBridgeman@users.noreply.github.com>
Co-authored-by: Ariel Schulz <43442541+ArBridgeman@users.noreply.github.com>
Co-authored-by: Ariel Schulz <43442541+ArBridgeman@users.noreply.github.com>

This branch is waiting to be deployed

1 waiting deployment
manual-approval — 04de7a5f Waiting Sep 25, 2026 by Rimsha2535 via Merge Gate / Extension / Approve Running Slow Tests? #2831
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add skill for projects to check their typings

3 participants